
const path = require('path');
const Server = require('dono-server');
const control = require('./server/control');

const s = new Server({
    root: path.join(__dirname, '../target/'),
    port: 9009,
    routerData: control,
    store: [{
        basePath: path.join(__dirname, './data'),
        jsonFile: 'modelData.json'
    }, {
        basePath: path.join(__dirname, './data'),
        jsonFile: 'modelList.json'
    }]
});